home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS1197.lzh
/
AMOSLIST
/
000137_amos-request@svcs1.digex.net_Wed Nov 12 13:48:25 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-04
|
4KB
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id NAA29499
for <mcox@access.digex.net>; Wed, 12 Nov 1997 13:48:22 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id JAA05226
for amos-out; Wed, 12 Nov 1997 09:39:16 -0500 (EST)
Received: from mail4.access.digex.net (mail4.access.digex.net [205.197.247.2])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id JAA05223
for <amos-list@svcs1.digex.net>; Wed, 12 Nov 1997 09:39:15 -0500 (EST)
Received: from relay2.inet.tele.dk (relay2.inet.tele.dk [194.182.149.111])
by mail4.access.digex.net (8.8.5/8.8.5) with SMTP id JAA11081
for <amos-list@access.digex.net>; Wed, 12 Nov 1997 09:38:53 -0500 (EST)
Received: (qmail 13266 invoked from network); 12 Nov 1997 13:16:33 -0000
Received: from post8.tele.dk (194.239.134.172)
by relay2.inet.tele.dk with SMTP; 12 Nov 1997 13:16:33 -0000
Received: from post8.tele.dk ([194.239.180.99]) by post8.tele.dk
(Netscape Mail Server v2.02) with SMTP id AAA41652;
Wed, 12 Nov 1997 14:16:24 +0100
From: Jens Vang Petersen <top_cat@post8.tele.dk>
To: "John F. Rodgers" <jfr@psln.com>, amos-list@access.digex.net
Date: Wed, 12 Nov 1997 14:03:28 +0100
Message-ID: <yam7255.1450.1746491920@post8.tele.dk>
In-Reply-To: <3466DE62.4A5F@psln.com>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Subject: Re: Permanent GUI Bank
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
On 10-Nov-97, John F. Rodgers smashed the keyboard with:
>Hello,
>I've been leaning the GUI extension (it's great, Pietro), and I've come
>to the point where I want to save a GUI bank as a permanent data bank
>along with the program so I don't have to load a separate .abk file at
>runtime.
>I've tried everything I can think of, including loading the .abk,
>reserving as data another bank with the length taken from the GUI bank,
>and copying the contents from the GUI bank into the new data bank. I
>then ran a test to assure that both banks were the same, byte for byte.
>It didn't work. When attempting to Gui Open then new bank (which is
>byte-for-byte identical to the GUI bank I loaded from disk, the program
>says "Not a GUI bank at line such and such."
>Can anyone help me? The AMOS manual and online help files both are
>fairly lacking in detail as to the exact procedure for creating a
>permanent bank. Unless it really is that simple to do, and something is
>going wrong with the newly created bank.
Is IS that simple to create a permanent bank, well my best shot is that
either the GUI-extension checks to see if it's a permanent bank, if that's
the problem there's absolutely nothing to do...
Number two is more likely, The GUI-extension checks for the NAME of the
bank, if so then you have to copy the name from the old bank to the new one
(the name is in Start(bnk)-8 and is 8 bytes long)...
An easier way is to change the original bank to a permanent one, this can
either be done with the AMCAF extension, or you can do this:
Doke Start(bnk)-12,1 (For FAST-DATA bank)
or
Doke Start(bnk)-12,3 (For CHIP-DATA)
or
Bset 0,Start(bnk)-11 (Makes a work bank permanent)
Just a note:
Bclr 0,Start(bnk)-11 (Will make a permanent bank -> work bank)
Hope it helps...
--
Happy greetings, Yours..
__________________________________________________________________________
/_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
/ / / /_/ / ____/ \ \___\ __ \ \ \ Nyvej 8, DK-4450 Jyderup, Denmark
/_/ /_____/_/ \_____\_\ \_\ \_\ top_cat@post8.tele.dk
--------------------------------------------------------------------------
The computer is mightier than the pen, the sword, and the programmer.
--------------------------------------------------------------------------